//
//  RegisterViewModel.h
//  JiZhuiAn
//
//  Created by roger lin on 16/6/19.
//  Copyright © 2016年 Easy. All rights reserved.
//

#import "BaseViewModel.h"
#import "APIService.h"
#import "APIService+Register.h"
#import "JudgeEmail_PW.h"

@interface RegisterViewModel : BaseViewModel

@property (nonatomic, assign) float   timerSecond;
@property (nonatomic, strong) NSTimer *timer;
@property (nonatomic, copy) NSString *phoneNumber;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *username;
@property (nonatomic, copy) NSString *CAPTCHAT;
@property (nonatomic, assign) BOOL registerSuccess;

@property (nonatomic, strong) RACSignal  * validSignal;
@property (nonatomic, strong) RACCommand * registerCommand;

@property (nonatomic, strong) RACSignal  * messageSignal;
@property (nonatomic, strong) RACCommand * messageCommand;
@end
